/**
 * 
 */
package com.lgf.extdemo.pojo;

/**
 * @author rj
 *
 */
public class Demo {
	private int id;
	private int pid;
	private String text;
	private String url;
	private String iconCls;
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @param id id
	 * @param pid 父id
	 * @param text 显示的值
	 * @param url 连接
	 */
	public Demo(int id,int pid, String text, String url,String iconCls) {
		this.id = id;
		this.text = text;
		this.url = url;
		this.pid = pid;
		this.iconCls = iconCls;
	}
	
	public Demo() {
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
}
